-
Home
-
Smartcat Translator for WPML
-
3.1.62 (latest)
-
Code
-
Classes
- DocumentsService
Total Complexity |
14 |
Dependencies |
1 |
Dependents |
4 |
Total lines |
139 |
Lines of code |
86 |
Logical lines of code |
32 |
Comment lines |
11 |
Methods |
13 |
Properties |
0 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
mapToModel() |
S |
60 |
1 |
16 |
findDocumentByPostAndLocale() |
S |
63 |
2 |
10 |
create() |
S |
73 |
1 |
5 |
whereTranslationRequestEquals() |
S |
75 |
1 |
4 |
fetch() |
S |
71 |
1 |
6 |
updateTranslatedPostId() |
S |
68 |
1 |
7 |
removePostLanguage() |
S |
78 |
1 |
3 |
removeAll() |
S |
79 |
1 |
3 |
removePost() |
S |
78 |
1 |
3 |
save() |
S |
73 |
1 |
5 |
getNonImportedItems() |
S |
67 |
1 |
8 |
cancelImportStatus() |
S |
67 |
1 |
8 |
resetAllInvalidProjects() |
S |
67 |
1 |
8 |